/*
 * Componente.h
 *
 *  Created on: 20/09/2009
 *      Author: ngonzalez
 */

#ifndef COMPONENTE_H_
#define COMPONENTE_H_

#include <string>

using namespace std;


class Componente {

	private: int id;

	private: int longitud;

    public: Componente();


	public: int getId() const;

	public: int getLongitud() const;

	public: void setId(int id);

	virtual ~Componente();
	
	virtual string Serializar();

	virtual void desSerializar(string componente);

	public: int getId();

	public: int getLongitud();

};
#endif /* COMPONENTE_H_ */
